﻿using RentalDTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentalIService
{
    public interface IServicelandlordTenant :IServiceSupport
    {
        List<landlordTenantDTO> SelectOneList(string id ,string pwd);

        List<landlordTenantDTO> Selectlanlord(int offset, int limit, string sort,  string order, string name, ref int rowCount);

        bool RDel(List<string> ids);

        bool Edit(landlordTenantDTO model);

        bool Add(string name, int sex, DateTime birthDay, string nativePlace, string address, string tel, string cardId, string password, string email, string roleId);
    }
}
